package com.howie.shirojwt.mapper;

import com.howie.shirojwt.model.UserSourceAction;
import com.howie.shirojwt.model.UserSourceActionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface UserSourceActionMapper {
    int countByExample(UserSourceActionExample example);

    int deleteByExample(UserSourceActionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserSourceAction record);

    int insertSelective(UserSourceAction record);

    List<UserSourceAction> selectByExampleWithRowbounds(UserSourceActionExample example, RowBounds rowBounds);

    List<UserSourceAction> selectByExample(UserSourceActionExample example);

    UserSourceAction selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserSourceAction record, @Param("example") UserSourceActionExample example);

    int updateByExample(@Param("record") UserSourceAction record, @Param("example") UserSourceActionExample example);

    int updateByPrimaryKeySelective(UserSourceAction record);

    int updateByPrimaryKey(UserSourceAction record);

    Long sumByExample(UserSourceActionExample example);

    void batchInsert(@Param("items") List<UserSourceAction> items);
}